package com.example.design.adapter.usbtypec;

/**
 * @Description 适配器类adapter
 * @ClassName Adapter
 * @Author Administrator
 * @Date 2020/5/13 12:14
 * @Version 1.0.0
 */
public class Adapter implements IUsb{

    private ITypeC iTypeCDevice;

    public Adapter(ITypeC iTypeCDevice) {
        this.iTypeCDevice = iTypeCDevice;
    }

    @Override
    public String getInfo() {
        return iTypeCDevice.getInfo();
    }
}
